RS Aggarwal solution Exercise 3C